﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LoseBattle : BaseUI {

    
    public override void OnButtonClick(string btnName)
    {
        switch (btnName)
        {
            case "BtnReplay":
                var t=UIManager.EnterUI<UIBattle>();
                t.LoadInit(GameMain.Instance.currentProgress.ToString());
                UIManager.ExitUI(this);
                break;
            case "BtnSelect":
                UIManager.EnterUI<UISelect>();
                UIManager.ExitUI(this);
                break;

            default:
                break;
        }
    }

    // Update is called once per frame
    void Update () {
		
	}
}
